package net.zhengxinyun.performance.service.incentive;

import net.zhengxinyun.performance.core.LongEntity;
import net.zhengxinyun.performance.entity.IncentiveTypeEntity;
import net.zhengxinyun.performance.entity.IncentiveTypeItemEntity;
import net.zhengxinyun.performance.filter.IncentiveTypeFilter;

import java.util.HashMap;
import java.util.List;

public interface IncentiveTypeSerice {

    List<IncentiveTypeFilter> queryType(IncentiveTypeEntity entity);
    int deleteType(Long id);
    int insertType(IncentiveTypeEntity entity );
    int updateType(IncentiveTypeEntity entity);

    List<IncentiveTypeItemEntity> queryItems(Long id);

    int deleteItems(Long id);

    int insertItems(List<IncentiveTypeItemEntity> entity);

    int updateItems(IncentiveTypeItemEntity entity);


}
